﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Rec_FloorCollection : List<Rec_Floor>
    {
       public int IndexOf(Rec_Floor item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Rec_Floor item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Rec_Floor this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Rec_Floor item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Rec_Floor item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Rec_Floor[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Rec_Floor item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Rec_Floor> GetEnumerator()
        {
            return base.GetEnumerator();
        }   
    }
    public class Rec_Floor
    {
        private int _IdFloor;

        public int IdFloor
        {
            get { return _IdFloor; }
            set { _IdFloor = value; }
        }
        private int _IdBuiding;

        public int IdBuiding
        {
            get { return _IdBuiding; }
            set { _IdBuiding = value; }
        }
        private string _FloorCode;

        public string FloorCode
        {
            get { return _FloorCode; }
            set { _FloorCode = value; }
        }
        private string _FloorName;

        public string FloorName
        {
            get { return _FloorName; }
            set { _FloorName = value; }
        }
        private Int16 _TotalRoom;

        public Int16 TotalRoom
        {
            get { return _TotalRoom; }
            set { _TotalRoom = value; }
        }
        private string _Address;

        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }
    }
}
